/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.ta.service;

import java.util.Date;
import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.thinkgem.jeesite.modules.ta.entity.StWorktime;
import com.thinkgem.jeesite.modules.ta.dao.StWorktimeDao;

/**
 * 设置工作日Service
 * 
 * @author TTAO
 * @version 2017-06-02
 */
@Service
@Transactional(readOnly = true)
public class StWorktimeService extends CrudService<StWorktimeDao, StWorktime> {

	public StWorktime findDate(Date sdate){
		return super.findDate(sdate);
	}
	
	public StWorktime get(String id) {
		return super.get(id);
	}

	public List<StWorktime> findList(StWorktime stWorktime) {
		return super.findList(stWorktime);
	}

	public Page<StWorktime> findPage(Page<StWorktime> page,
			StWorktime stWorktime) {
		return super.findPage(page, stWorktime);
	}

	@Transactional(readOnly = false)
	public void save(StWorktime stWorktime) {
		super.save(stWorktime);
	}

	@Transactional(readOnly = false)
	public void delete(StWorktime stWorktime) {
		super.delete(stWorktime);
	}

	public List<StWorktime> findAllListWorkTime() {
		return super.findAllListWorkTime();
	}

}